package day03.lianxi.duotai;

public class Lian02 {
    public static void main(String[] args) {
        fu f = new fu();
        System.out.println(f.num);
        f.show();
    }
}

class fu {
    int num = 10;

    public void show() {
        System.out.println("fu...");
    }
}

class zi extends fu {
    int num = 20;

    public void show() {
        System.out.println("zi...");
    }
}

